package com.briup.oagg.model.constants;

/**
 * 模型子系统常量
 * @author briup
 */
public class ModelConstants {
    public static final String DEEP_LEANING_PlATFORM = "dl";
    public static final String MACHINE_LEANING_PlATFORM = "ml";
    public static final String SEQUENTIAL = "Sequential";
    public static final String CODE_NAME = "seq-4";
    public static final String MACHINELEANING = "MachineLearning";
    /**
     * 模型类型
     */
    public enum modelType{
        CLASSIFICATION("classification"),//分类
        CLUSTER("cluster"),//聚类
        REGRESSION("regression");//回归
        String name;

        modelType(String name) {
            this.name = name;
        }
        public String getName() {
            return name;
        }
    }


    //训练状态
    public enum TrainStatus{
        NEW("新建训练"),
        RUNNING("训练中"),
        SUCCESS("成功"),
        FAIL("失败");

        String name;

        TrainStatus(String name) {
            this.name = name;
        }
        public String getName() {
            return name;
        }
    }
    public enum PublishStatus{
        UNPULISH("未发布"),
        PUBLISHED("已发布");

        String name;

        PublishStatus(String name) {
            this.name = name;
        }
        public String getName() {
            return name;
        }
    }
}

